package extend;

public class Teacher {
    //属性
    private String name;
    private int age;
    private String gender;
    //方法
    public void teach(){
        System.out.println("teach java");
    }

}
